import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 按需加载
import {
  Tabbar, TabbarItem, IndexBar, IndexAnchor,
  Cell, Popup, List, Overlay, Tab, Tabs
} from 'vant';

import { Swipe, SwipeItem } from 'vant';
import { Lazyload } from 'vant';

Vue.use(Lazyload);

Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Overlay);
Vue.use(Popup);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(IndexBar);
Vue.use(IndexAnchor);
Vue.use(Cell);
Vue.use(List);
Vue.use(Tab);
Vue.use(Tabs);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
